package com.hai.loggerdemo.util;

import com.hai.loggerdemo.service.impl.HelloServiceImpl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class StringTools {
    private static final Logger logger = LoggerFactory.getLogger(StringTools.class);

    public static void returnString(){
       int i = 0;
        while( i <= 60){
            try {
                Thread.sleep(1000);
                logger.info("String tooos "+i);
                i++;
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    }
}
